package com.shycloud.mido.organ.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.organ.api.dto.MiniInteractionDTO;
import com.shycloud.mido.organ.api.entity.MemberEntity;
import com.shycloud.mido.organ.api.entity.WorksEntity;

import org.apache.ibatis.annotations.Param;

public interface CommunityMapper {

    IPage<WorksEntity> getMyZan(@Param("page") Page page, @Param("memberId") String memberId);

    IPage<MemberEntity> getMyFollow(@Param("page") Page page, @Param("memberId") String memberId);

    IPage<MiniInteractionDTO> getMyInteraction(@Param("page") Page page, @Param("memberId") String memberId);
}